<?php /* Smarty version 2.6.14, created on 2015-09-08 14:51:30
         compiled from gamesign.add.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'gamesign.add.html', 30, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="<?php echo $this->_tpl_vars['formAction']; ?>
" method="POST" <?php if ($this->_tpl_vars['is_validator']): ?> id="adminform" onsubmit="return Validator.Validate(this)" <?php endif; ?>>
<table class="adminform" border="0" cellspacing="0">
    <tr>
        <th><h1><?php echo $this->_tpl_vars['titleHeader']; ?>
</h1></th>
    </tr>
    <tr>
        <th><?php echo $this->_tpl_vars['systemLang']['softId']; ?>
</th>
    </tr>
    <tr>
        <td>
            <input type="text"  name="softId" value="<?php echo $this->_tpl_vars['data']['softId']; ?>
" id="softId" class="text" datatype="Require" msg="SoftId必选" />
        </td>
    </tr>
    <tr>
        <th><?php echo $this->_tpl_vars['systemLang']['signType']; ?>
</th>
    </tr>
    <tr>
        <td>
            <input type="text"  name="signType" readonly value="<?php echo $this->_tpl_vars['signType'][$this->_tpl_vars['packTypeId']]; ?>
" id="signType" class="text" />
        </td>
    </tr>
    <tr>
        <th><?php echo $this->_tpl_vars['systemLang']['originPack']; ?>
</th>
    </tr>
    <tr>
        <td>
            <select name="originPack" datatype="Require" msg="原包必选">
                <option value=""><?php echo $this->_tpl_vars['systemLang']['pleaseSelect']; ?>
</option>
                <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['originPack'],'selected' => $this->_tpl_vars['data']['packId']), $this);?>

            </select>
        </td>
    </tr>
    <tr>
        <th><?php echo $this->_tpl_vars['systemLang']['perfile']; ?>
</th>
    </tr>
    <tr>
        <td>
            <select name="perfile"  datatype="Require" msg="授权文件必选">
                <option value="0"><?php echo $this->_tpl_vars['systemLang']['pleaseSelect']; ?>
</option>
                <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['perfile'],'selected' => $this->_tpl_vars['data']['perfileId']), $this);?>

            </select>
        </td>
    </tr>
    <tr>
        <th>版本号</th>
    </tr>
    <tr>
        <td>
            <input type="text"  name="version" value="<?php echo $this->_tpl_vars['data']['version']; ?>
" id="version" class="text" datatype="Require" msg="版本号必选" />
        </td>
    </tr>
    <tr>
        <th><?php echo $this->_tpl_vars['systemLang']['channel']; ?>
</th>
    </tr>
    <?php if ($this->_tpl_vars['action'] == 'edit'): ?>
    <tr>
        <td><input type="text" readonly value="<?php echo $this->_tpl_vars['channel'][$this->_tpl_vars['data']['channel']]; ?>
" id="channels" class="text" />
            <input type="hidden" name="id" value="<?php echo $this->_tpl_vars['data']['id']; ?>
" >
        </td>
    </tr>
    <?php else: ?>
    <tr>
        <td>
            <select name="channels[]" multiple="true" size="10" style="width:200px" datatype="Require" msg="渠道必选">
                <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['channel'],'selected' => $this->_tpl_vars['data']['channel']), $this);?>

            </select>
        </td>
    </tr>
    <?php endif; ?>
    <tr>
        <td><input type="hidden" name="packTypeId" value="<?php echo $this->_tpl_vars['packTypeId']; ?>
" >
            <input type="submit" name="button" value="<?php echo $this->_tpl_vars['systemLang']['submit']; ?>
" class="button" /></td>
    </tr>
</table>
</form>